import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import("@/views/home/index.vue"),
  },
  {
    path: "/AboutTravelAI",
    name: "AboutTravelAI",
    component: () => import("@/views/AboutTravelAI/index.vue"),
  },
  {
    path: "/Platform",
    name: "Platform",
    component: () => import("@/views/Platform/index.vue"),
  },
  {
    path: "/AboutSettle",
    name: "AboutSettle",
    component: () => import("@/views/AboutSettle/index.vue"),
  },
  {
    path: "/AboutTicketSales",
    name: "AboutTicketSales",
    component: () => import("@/views/ticketSale/index.vue"),
  },
  {
    path: "/biddingMode",
    name: "biddingMode",
    component: () => import("@/views/biddingMode/index.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
